﻿#region License
/*
 *CopyRight (c) By Denuvead All Rights Reserved
 *CreateDate:
 *Info:
 */
#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace PriErp.Dal
{
    /// <summary>
    /// 交易类型（数据库类型-1:支出,1:收入）
    /// </summary>
    public enum TransType
    {
        /// <summary>
        /// 支出
        /// </summary>
        [Description("支出")]
        OutCome = 1,
        /// <summary>
        /// 收入
        /// </summary>
        [Description("收入")]
        InCome = 3
    }
    /// <summary>
    /// 用户权限
    /// </summary>
    public enum PowerType
    {
        /// <summary>
        /// 查看
        /// </summary>
        [Description("查看")]
        Guest,  //0
        /// <summary>
        /// 管理员
        /// </summary>
        [Description("管理员")]
        Admin  //1
    }

    /// <summary>
    /// 用户状态
    /// </summary>
    public enum UserStatus
    {
        /// <summary>
        /// 禁用
        /// </summary>
        [Description("禁用")]
        Forbidden,  //0
        /// <summary>
        /// 可用
        /// </summary>
        [Description("可用")]
        Active  //1
    }

    /// <summary>
    /// 操作类型
    /// </summary>
    public enum ActionType
    {
        /// <summary>
        /// 登录
        /// </summary>
        [Description("登录")]
        Login = 1,
        /// <summary>
        /// 更改密码
        /// </summary>
        [Description("更改密码")]
        ChangePassWord = 2
    }
}
